package com.fangcun.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fangcun.bean.admin.order.response.SubscribeResponse;
import com.fangcun.bean.api.subscribe.request.SubscribeMySearchRequest;
import com.fangcun.bean.api.subscribe.response.SubscribeMySearchResponse;
import com.fangcun.entity.OrderSubscribe;

public interface OrderSubscribeMapper {

	int deleteByPrimaryKey(Long id);

	int insert(OrderSubscribe record);

	int insertSelective(OrderSubscribe record);

	OrderSubscribe selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(OrderSubscribe record);

	int updateByPrimaryKey(OrderSubscribe record);

	List<SubscribeMySearchResponse> listForApi(SubscribeMySearchRequest request);

	/** 查询 **/
	SubscribeResponse listForAdmin(@Param("orderDetailId") Long orderDetailId);

}